<template>
  <div>
    <van-nav-bar
      title="用户协议与隐私政策"
      left-text=""
      left-arrow
      @click="backlink()"
    ></van-nav-bar>
    <div v-html="content"></div>
  </div>
</template>

<script>
import { privacyinfo } from "@/http/request.js";
export default {
  data() {
    return {
      content: "",
    };
  },
  methods: {
    getprivacyinfo() {
      privacyinfo().then((res) => {
        if (res.code == 0) {
          this.content = res.data;
        }
      });
    },
    backlink() {
      this.$router.back();
    },
  },
  mounted() {
    this.getprivacyinfo();
  },
};
</script>

<style>
</style>